class StoreController < ApplicationController
  def index
    @page_title = "Books in Store"

    locale = params[:set_locale]
    if locale
      redirect_to store_path(:locale => locale)
    else
      @products = Product.all
      @cart = current_cart
    end
  end
end
